﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <!-- 自己的系统风格统一. -->
    <link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
    <link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
    <link href="../../../Scripts/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <script src="DDLBar.js" type="text/javascript"></script>
    <script src="../../CCFlowEnum.js" type="text/javascript"></script>
    <script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
    <script type="text/javascript">
        //页面初始化
        $(function () {

            InitBar(OvertimeRole.TurnToEmp);
            var nodeID = GetQueryString("FK_Node");
            var node = new Entity("BP.WF.Node", nodeID);
            if (node.OutTimeDeal == OvertimeRole.TurnToEmp)
                $("#TB_Shift").val(node.DoOutTime)

            //给字段赋值.
            GenerFullAllCtrlsVal(node);

        });

        function Save() {
            var nodeID = GetQueryString("FK_Node");
            var node = new Entity("BP.WF.Node", nodeID);
            node.OutTimeDeal = OvertimeRole.TurnToEmp;
            node.DoOutTime = $("#TB_Shift").val();
            node.CopyForm();
            node.Update();

            alert("保存成功.");
        }
    </script>
</head>
<body>
    <div id="bar"> </div>
    <fieldset>
        <legend><label for="RB_OutTimeDeal_3">移交给指定的人员 </label> </legend>
        <br />
        <a href="javascript:ShowHidden('shift');"> 请输入要移交的工作人员：</a>
        <br />
        <div id="shift" style="display:none">
            <ul>
                <li>接受输入的必须是人员的工作帐号。</li>
                <li>如果有多个人元用半角的逗号分开，比如: zhangsan,lisi。</li>
                <li>超时后就自动的移交给指定的工作人员。</li>
            </ul>
        </div>

        <input id="TB_Shift" name="TB_Shift" type="text" />
    </fieldset>
</body>
</html>
